package com.tacc.tyun.service;

import com.github.pagehelper.PageInfo;
import com.tacc.tyun.base.BaseService;
import com.tacc.tyun.model.MsgBanner;

import java.util.List;

/**
*
* @author congcong tao
* @date 2017/8/22 15:02
*/
public interface MsgBannerService extends BaseService<MsgBanner> {

    PageInfo<MsgBanner> pageInfo(MsgBanner msgBanner, int pageSize, int pageNum);

    int deleteBannerByIds(String[] ids, Integer removeTag);

    int updateStatusByIds(List<String> ids, String status);

    /**
     * 根据id排序
     * @return
     */
    int updateSortEntity(String[] ids);
}
